package appapi.dto.bridge;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author dhq
 * @version 1.0
 * @date 2023/9/19  9:37
 */
@Data
@ApiModel("工作循环导出")
public class WorkCycleExportDto implements Serializable {
    /**
     * 所属项目
     */
    @ApiModelProperty(value="所属项目")
    @Excel(name = "所属项目",orderNum = "0",width = 50)
    private String projName;

    /**
     * 设备名称
     */
    @ApiModelProperty(value="设备名称")
    @Excel(name = "设备名称",orderNum = "0",width = 50)
    private String deviceName;

    /**
     *设备类型
     */
    @ApiModelProperty(value="设备类型 0:塔吊 1:升降机 2:龙门吊 3:架桥机 4:爬模 5:挂篮")
    @Excel(name = "设备类型",orderNum = "0",width = 50)
    private Integer   deviceType;

    /**
     * 设备编号
     */
    @ApiModelProperty(value="设备编号")
    @Excel(name = "设备编号",orderNum = "0",width = 50)
    private String deviceSn;

    /**
     *现场编号
     */
    @ApiModelProperty(value="现场编号")
    @Excel(name = "现场编号",orderNum = "0",width = 50)
    private String deviceNo;


    /**
     * 开始时间
     */
    @ApiModelProperty(value="开始时间")
    @Excel(name = "开始时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime workStartTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(value="结束时间")
    @Excel(name = "结束时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime workEndTime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    @Excel(name = "创建时间",orderNum = "0",width = 50 , format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
